
#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface AIRequestTool : NSObject

+ (NSString *)uuidString;

+ (NSString *)curAppVersion;

+ (NSString*)calculateSignValue:(NSDictionary*)params appKey:(NSString *)appkey;

+ (NSString *)sign:(NSString *)content withPriKey:(NSString *)priKey;


/**
 *  获取动态ip地址
 *  @param preferIPv4 是否优先获取ipv4地址
 */
+ (NSString *)getIPAddress:(BOOL)preferIPv4;

@end


@interface QueryStringPair : NSObject
@property (nonatomic, strong) id key;
@property (nonatomic, strong) id value;
- (instancetype)initWithKey:(id)key value:(id)value;
@end

NS_ASSUME_NONNULL_END
